package com.base.commonlib.bean;

import java.util.List;

/**
 * Created by weikailiang on 2020/2/28.
 */

public class TabEntity {
        private List<SavedBean> saved;
        private List<TreeBean> tree;

        public List<SavedBean> getSaved() {
            return saved;
        }

        public void setSaved(List<SavedBean> saved) {
            this.saved = saved;
        }

        public List<TreeBean> getTree() {
            return tree;
        }

        public void setTree(List<TreeBean> tree) {
            this.tree = tree;
        }

        public static class SavedBean {
            /**
             * id : 0
             * name : 推荐
             * sort : 0
             * type : 0
             * parentId : 0
             */

            private String id;
            private String name;
            private int sort;
            private int type;
            private String parentId;



            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getSort() {
                return sort;
            }

            public void setSort(int sort) {
                this.sort = sort;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public String getParentId() {
                return parentId;
            }

            public void setParentId(String parentId) {
                this.parentId = parentId;
            }
        }

        public static class TreeBean {
            /**
             * id : 058291f2c81442e493fed81777059847
             * name : 疫情防控
             * tabs : [{"id":"b43880d5bd2349659ae322f9685f12ea","name":"特定行业人员如何自我保护","sort":null,"type":0,"parentId":"058291f2c81442e493fed81777059847"},{"id":"2833b329f52b467ca343801a62cc58ba","name":"返岗复工疫情防控","sort":null,"type":0,"parentId":"058291f2c81442e493fed81777059847"}]
             */

            private String id;
            private String name;
            private List<SavedBean> tabs;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public List<SavedBean> getTabs() {
                return tabs;
            }

            public void setTabs(List<SavedBean> tabs) {
                this.tabs = tabs;
            }


        }
}

